const Router = require('koa-router')
const MessageBoardCon = require('../controller/messageBoard/MessageBoardCon')
const MessageBoardRouter = new Router()

//添加
MessageBoardRouter.post('/addMessage', MessageBoardCon.addMessage)
// 查询
MessageBoardRouter.post('/getMessage', MessageBoardCon.getMessage)
// 删除
MessageBoardRouter.post('/deleteMessage', MessageBoardCon.deleteMessage)

module.exports = MessageBoardRouter
